<template>
  <router-view v-slot="{Component}">
    <keep-alive>
      <component :is="Component" :key="$route.id"/>
    </keep-alive>
  </router-view>
</template>
